package com.schoolvisitors.dto;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class CreateCubicleDto {
    @Min(value = 1, message = "号码必须大于等于1")
    @Max(value = 65535, message = "号码必须小于等于65535")
    private Short number;

    @NotNull(message = "房间ID不能为空")
    private Long roomId;
}
